package com.byku.entity;

import java.sql.Date;

/*
 *文档类 
 */

public class Document {
	private long id;
	private String title;
	private String content;
	private Date date;
	private User author;
	/*
	 *state 文档状态
	 *  1 : 正常状态
	 *  2 : 回收站状态 
	 */ 
	private int state; 
	public User getAuthor() {
		return author;
	}
	public void setAuthor(User author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
}
